/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sigajikaryawan;

import Koneksi.KoneksiDatabase;
import java.sql.Connection;
import java.sql.SQLException;

/**
 *
 * @author yolan
 */
public class LoginKontroler {
    private Connection conn;

    public LoginKontroler(Connection koneksi) {
        this.conn = koneksi;
    }

    public static boolean getKoneksi(Login login) throws SQLException {
        Koneksi.KoneksiDatabase kon = new KoneksiDatabase();
        @SuppressWarnings("static-access")
        boolean ok = kon.getConnection(login);
        return ok;
    }
}
